package org.app.Mapper.Admin;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.app.Entity.Admin;

public interface IAdminMapper extends BaseMapper<Admin> {
    Admin getAdminByIDAndPassword(String admin_phone, String admin_password);
    Integer createAdmin(Admin admin);
    Integer updateAdminInfo(Admin admin);
    Integer updateAdminPassword(Admin admin);
    void saveToken(Admin admin);
    Admin getAdminByID(String admin_id);
    Admin getAdminByPhone(String admin_phone);
}
